package year2021.month01;

import com.alibaba.fastjson.JSONObject;

public class ExtendTest {

    public static void main(String[] args){
        Man man = new Man();
        System.out.println(JSONObject.toJSONString(man));
    }

}

class Person{
    int a = 1;
}

class Man extends Person{
    int m = 10;

}